{php}
    $CmsMenuListArr = $CmsMenuList;
    $pageInfoData = $pageInfos; // 页面信息
{/php}
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>{$pageInfoData.name}</title>
    <meta name="keywords" content="{$pageInfoData.keywords}">
    <meta name="description" content="{$pageInfoData.info}">
    <link href="__static__/css/index.css" rel="stylesheet">
    <link href="__static__/css/site.css" rel="stylesheet">
    <link href="__static__/lib/layui/css/layui.css" rel="stylesheet"  media="all">
    <link href="__static__/lib/nav/css/main.css" rel="stylesheet">
    <!--如果是list-->
    {if(isset($cssAdd))}
        <link href="__static__/css/list1.css" rel="stylesheet">
    {/if}
    <!--如果是details-->
    {if(isset($cssDetails))}
        <link href="__static__/css/details.css" rel="stylesheet">
        <link href="__static__/lib/prism/prism.css" rel="stylesheet">
    {/if}
    <!--$cssTime-->
    {if(isset($cssAbout))}
    <link href="__static__/css/about.css" rel="stylesheet">
    {/if}
</head>
<body>
<header>
    <div class="layui-col-md9 layui-col-lg7 Clear">
        <a class="home" href="/">
            <span class="layui-icon layui-icon-release" title="曾小晖原创个人博客"></span>
            <span>曾小晖原创个人博客</span>
        </a>
        <nav>
            <ul class="layui-nav menuul" lay-filter="nav">
                {if ($pageInfoData.id === 0)}
                    <li class="layui-nav-item layui-this">
                {else /}
                    <li class="layui-nav-item">
                {/if}
                    <a href="/">网站首页</a>
                </li>
                {volist name="$CmsMenuListArr" id="data"}
                    {if ($pageInfoData.id === $data.id || $pageInfoData.fid === $data.id )}
                        <li class="layui-nav-item layui-this">
                        {else /}
                        <li class="layui-nav-item">
                    {/if}

                    {if ( $data.islast == 1)}
                        <a href="/list1/{$data.id}-1.html">{$data.name}</a>
                    {else /}
                        {if ( $data.childList && $data.name !== '时间轴' && $data.name !== '关于我')}
                            <a href="javascript:;">{$data.name}</a>
                            <dl class="layui-nav-child">
                                {volist name="$data.childList" id="child"}
                                    <dd>
                                        <a href="/list2/{$child.id}-1.html">{$child.name}</a>
                                    </dd>
                                {/volist}
                            </dl>
                        {else /}
                            <a href="/singPage/{$data.id}-1.html">{$data.name}</a>
                        {/if}
                    {/if}
                    </li>
                {/volist}
            </ul>
        </nav>
        <!-- mobile nav -->
        <div class="mobile">
            <div class="mobile-inner">
                <div class="mobile-inner-header">
                    <a class="home mobilehome" href="/">
                        <span class="layui-icon layui-icon-release" title="曾小晖原创个人博客"></span>
                        <span>曾小晖原创个人博客</span>
                    </a>
                    <div class="mobile-inner-header-icon mobile-inner-header-icon-out">
                        <span></span><span></span>
                    </div>
                </div>
                <div class="mobile-inner-nav">
                    {volist name="$CmsMenuListArr" id="data"}
                        {if ( $data.islast == 1)}
                            <li class="layui-nav-item">
                                <a href="/list1/{$data.id}-1.html">{$data.name}</a>
                            </li>
                        {else /}
                        {if ( $data.childList && $data.name !== '时间轴' && $data.name !== '关于我')}
                                {volist name="$data.childList" id="child"}
                                    <li class="layui-nav-item">
                                        <a href="/list2/{$child.id}-1.html">{$child.name}</a>
                                    </li>
                                {/volist}
                            {else /}
                                <li class="layui-nav-item">
                                    <a href="/singPage/{$data.id}-1.html">{$data.name}</a>
                                </li>
                            {/if}
                        {/if}
                    {/volist}
                </div>
            </div>
        </div>
        <!-- mobile nav end -->
    </div>
</header>